package com.edu.project;

import android.app.Application;
import android.content.Context;

import com.edu.project.http.HttpClient;

/**
 * Created by sheng on 2016/11/4.
 */
public class App extends Application {
    private static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();

        mContext = getApplicationContext();
        HttpClient.init();
    }


    public static synchronized Context context() {
        return  mContext;
    }
}
